Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example for how to provide stdin using std::process::Command #40122

Merged

Conversation

robinst
Copy link
Contributor

@robinst robinst commented Feb 27, 2017

Spawning a child process and writing to its stdin is a bit tricky due to
as_mut and having to use a limited borrow. An example for this might
help newer users.

r? @steveklabnik

Spawning a child process and writing to its stdin is a bit tricky due to
`as_mut` and having to use a limited borrow. An example for this might
help newer users.
@alexcrichton
Copy link
Member

@bors: r+

Thanks!

@bors
Copy link
Contributor

bors commented Feb 27, 2017

📌 Commit 8079bf3 has been approved by alexcrichton

frewsxcv added a commit to frewsxcv/rust that referenced this pull request Feb 28, 2017
…ting-to-stdin, r=alexcrichton

Example for how to provide stdin using std::process::Command

Spawning a child process and writing to its stdin is a bit tricky due to
`as_mut` and having to use a limited borrow. An example for this might
help newer users.

r? @steveklabnik
frewsxcv added a commit to frewsxcv/rust that referenced this pull request Feb 28, 2017
…ting-to-stdin, r=alexcrichton

Example for how to provide stdin using std::process::Command

Spawning a child process and writing to its stdin is a bit tricky due to
`as_mut` and having to use a limited borrow. An example for this might
help newer users.

r? @steveklabnik
@ishitatsuyuki
Copy link
Contributor

This is rollup...

@eddyb
Copy link
Member

eddyb commented Feb 28, 2017

@bors rollup

eddyb added a commit to eddyb/rust that referenced this pull request Feb 28, 2017
…ting-to-stdin, r=alexcrichton

Example for how to provide stdin using std::process::Command

Spawning a child process and writing to its stdin is a bit tricky due to
`as_mut` and having to use a limited borrow. An example for this might
help newer users.

r? @steveklabnik
frewsxcv added a commit to frewsxcv/rust that referenced this pull request Feb 28, 2017
…ting-to-stdin, r=alexcrichton

Example for how to provide stdin using std::process::Command

Spawning a child process and writing to its stdin is a bit tricky due to
`as_mut` and having to use a limited borrow. An example for this might
help newer users.

r? @steveklabnik
bors added a commit that referenced this pull request Feb 28, 2017
Rollup of 9 pull requests

- Successful merges: #39977, #40033, #40047, #40056, #40057, #40122, #40124, #40126, #40131
- Failed merges: #40101
@bors bors merged commit 8079bf3 into rust-lang:master Feb 28, 2017
@robinst robinst deleted the process-add-example-for-writing-to-stdin branch March 1, 2017 01:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants